﻿$(function () {
    $("#main-menu li").each(function () {
        var li = $(this);
        $(this).mouseenter(function () {
            $(this).addClass("iehover");
        });
        $(this).mouseleave(function () {
            $(this).removeClass("iehover");
        });
    });

    $("#tabs").tabs({
        ajaxOptions: {
            error: function (xhr, status, index, anchor) {
                $(anchor.hash).html(
						"Couldn't load this tab. We'll try to fix this as soon as possible. " +
						"If this wouldn't be a demo.");
            }
        }
    });
});